Total Complexity | 7 |
Dependencies | 0 |
Dependents | 3 |
Total lines | 59 |
Lines of code | 28 |
Logical lines of code | 10 |
Comment lines | 12 |
Methods | 7 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 71 | 1 | 6 | |
get_code() | 82 | 1 | 3 | |
get_name() | 82 | 1 | 3 | |
get_type() | 82 | 1 | 3 | |
get_price() | 82 | 1 | 3 | |
has_price() | 80 | 1 | 3 | |
to_array() | 69 | 1 | 7 |